import axios from "axios"

// axios.defaults.baseURL = 'http://xawn.f3322.net:8012';
export const login = (data) => axios.post('/api/login', data)
export const menu = (params) => axios.get(`/api/menu/${params}`)
export const tel = (tel) => axios.get(`/api/gen/apply/shop/tel/${tel}`)
export const shopname = (shopname) => axios.get(`/api/gen/apply/shop/shopname/${shopname}`)
export const addShop = (data) => axios.post(`/api/gen/apply/shop`,data)
